Optimal. Leaf size=49 \[ a^2 x+\frac{1}{5} x^5 \left (2 a c+b^2\right )+\frac{2}{3} a b x^3+\frac{2}{7} b c x^7+\frac{c^2 x^9}{9} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0207458, antiderivative size = 49, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.071, Rules used = {1090} \[ a^2 x+\frac{1}{5} x^5 \left (2 a c+b^2\right )+\frac{2}{3} a b x^3+\frac{2}{7} b c x^7+\frac{c^2 x^9}{9} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1090
Rubi steps
\begin{align*} \int \left (a+b x^2+c x^4\right )^2 \, dx &=\int \left (a^2+2 a b x^2+b^2 \left (1+\frac{2 a c}{b^2}\right ) x^4+2 b c x^6+c^2 x^8\right ) \, dx\\ &=a^2 x+\frac{2}{3} a b x^3+\frac{1}{5} \left (b^2+2 a c\right ) x^5+\frac{2}{7} b c x^7+\frac{c^2 x^9}{9}\\ \end{align*}
Mathematica [A] time = 0.0046814, size = 49, normalized size = 1. \[ a^2 x+\frac{1}{5} x^5 \left (2 a c+b^2\right )+\frac{2}{3} a b x^3+\frac{2}{7} b c x^7+\frac{c^2 x^9}{9} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.041, size = 42, normalized size = 0.9 \begin{align*}{a}^{2}x+{\frac{2\,ab{x}^{3}}{3}}+{\frac{ \left ( 2\,ac+{b}^{2} \right ){x}^{5}}{5}}+{\frac{2\,bc{x}^{7}}{7}}+{\frac{{c}^{2}{x}^{9}}{9}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.955626, size = 61, normalized size = 1.24 \begin{align*} \frac{1}{9} \, c^{2} x^{9} + \frac{2}{7} \, b c x^{7} + \frac{1}{5} \, b^{2} x^{5} + a^{2} x + \frac{2}{15} \,{\left (3 \, c x^{5} + 5 \, b x^{3}\right )} a \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.26708, size = 104, normalized size = 2.12 \begin{align*} \frac{1}{9} x^{9} c^{2} + \frac{2}{7} x^{7} c b + \frac{1}{5} x^{5} b^{2} + \frac{2}{5} x^{5} c a + \frac{2}{3} x^{3} b a + x a^{2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.081184, size = 48, normalized size = 0.98 \begin{align*} a^{2} x + \frac{2 a b x^{3}}{3} + \frac{2 b c x^{7}}{7} + \frac{c^{2} x^{9}}{9} + x^{5} \left (\frac{2 a c}{5} + \frac{b^{2}}{5}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.19867, size = 58, normalized size = 1.18 \begin{align*} \frac{1}{9} \, c^{2} x^{9} + \frac{2}{7} \, b c x^{7} + \frac{1}{5} \, b^{2} x^{5} + \frac{2}{5} \, a c x^{5} + \frac{2}{3} \, a b x^{3} + a^{2} x \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]